package routes

import (
	"goserver/handlers"
	"goserver/models"

	"go.mongodb.org/mongo-driver/mongo"
)

func SetupTestRoutes(db *mongo.Database, collectionName string) {
	testRepo := models.NewTestRepository(db, collectionName)
	testHandler := handlers.NewTestHandler(testRepo)

	setupEntityRoutes[models.TestRepository]("/test/add", testHandler.Testaa)

}
